#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>
#include <stdlib.h>
#include <iostream>

namespace lwj
{
	int rand = 0;
	int num1 = 2;
}

namespace lwj_1
{
	int rand = 0;
	int num1 = 2;
}

using namespace lwj;
//using namespace lwj_1;
using namespace std;

int main()
{
	/*int rand = 1;*/

	printf("%d\n", num1);

	cout << num1 << endl;

	cin >> num1;

	cout << num1 << endl;

	return 0;
}